home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc International / Development / Sharing TSM document / ShareTSM.h < prev   
Encoding:
C/C++ Source or Header  |  1996-11-14  |  692 b   |  31 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ShareTSM.h
  3.  
  4.     Contains:    Interfaces for Sharing TSM document on OpenDoc part.
  5.  
  6.     Copyright:    © 1996 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. #ifndef _OD_SHARETSM_
  11. #define _OD_SHARETSM_
  12.  
  13. #ifndef __TEXTSERVICES__
  14. #include <TextServices.h>
  15. #endif
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. #pragma    import on
  22. extern pascal OSErr ODNewTSMDocumentForPart(short interfaceNum, OSType interfaceType[], TSMDocumentID *docID, long refcon);
  23. extern pascal OSErr ODUseTSMDocumentForPart(short interfaceNum, OSType interfaceType[], TSMDocumentID  docID, long refcon);
  24. extern pascal OSErr ODDeleteTSMDocumentForPart(TSMDocumentID docID);
  25. #pragma import off
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif